package com.llb666.e.shop.domain.repository;

import com.llb666.e.shop.domain.entity.PayOrders;

/**
 * @author llb666
 * @date 2022/9/16 22:36
 */
public interface PaymentOrderRepository {

    public void updateOrderPaid(String merchantOrderId, Integer paidAmount);

    PayOrders queryMerchantPayOrder(String merchantOrderId);

    PayOrders queryOrderInfo(String merchantUserId, String merchantOrderId);

    PayOrders queryOrderByStatus(String merchantUserId, String merchantOrderId, Integer type);

    int insert(PayOrders paymentOrder);
}
